ReadOnlyListBase Generic Class

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

ReadOnlyListBase is an abstract class that can be used as a base class for a read-only collection that needs to implement the generic IList<T> and non-generic IList collections. The derived class needs to override the Count property and the get part of the indexer. The implementation of all the other methods in IList<T> and IList are handled by ListBase.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
[SerializableAttribute]
public abstract class ReadOnlyListBase<T> : ReadOnlyCollectionBase<T>, IList<T>, 
	ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable
Visual Basic (Declaration)
<SerializableAttribute> _
Public MustInherit Class ReadOnlyListBase(Of T) _
	Inherits ReadOnlyCollectionBase(Of T) _
	Implements IList(Of T), ICollection(Of T),  _
	IEnumerable(Of T), IList, ICollection, IEnumerable
Visual C++
[SerializableAttribute]
generic<typename T>
public ref class ReadOnlyListBase abstract : public ReadOnlyCollectionBase<T>, 
	IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, 
	IEnumerable

Type Parameters

T

Inheritance Hierarchy

System..::Object
  Wintellect.PowerCollections..::ReadOnlyCollectionBase<(Of <T>)>
    Wintellect.PowerCollections..::ReadOnlyListBase<(Of <T>)>

See Also